<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" isELIgnored="false" session="true"%>

<%@taglib prefix="s" uri="http://www.springframework.org/tags"%>

<%
	String path = request.getContextPath();

	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE html>

<html>
<head>
<base href="<%=basePath%>">
<title><s:message code="M_A200_AUT_MANAGEMENT_TAG" /></title>
<%@ include file="/page/comPage/comCSS.html"%>
<%@ include file="/page/comPage/navbar.html"%>
</head>
<body>
	<div class="container-fluid">
		<div class="col-lg-12 col-md-12 col-sm-12 btnDivCss">
			<button class="btn btn-info" id="query_btn"><s:message code="QUERY_TAG" /></button>
			<button class="btn btn-danger" id="delete_btn"><s:message code="DELETE_TAG" /></button>
		    <button class="btn btn-warning" id="update_btn"><s:message code="UPDATE_TAG" /></button>
		    <button class="btn btn-primary" id="add_btn"><s:message code="ADD_TAG" /></button>
		    <button class="btn btn-success" id="register_btn"><s:message code="SAVE_TAG" /></button>
		</div>
		
		
		<div class="col-lg-12 col-md-12 col-sm-12">
			<div class = "col-lg-4 col-md-4 col-sm-4">
				<fieldset>
					<legend><s:message code="USR_LIST_TAG" /></legend>
					<div id="usrListDiv" class="col-lg-12 col-md-12 col-sm-12">
						<table id="usrListGrd" style="height:1px;"></table>
						<div id="usrListPg"></div>
					</div>
				</fieldset>
			</div>
			<div class = "col-lg-8 col-sm-8 col-md-8">
				<form class="form-horizontal">
					<fieldset>
						<legend><s:message code="USER_INFO_TAG" /></legend>
					</fieldset>
					<div class="form-group">
						<label class="control-label col-sm-2" for="usrIdTxt"> 工号
						</label>
						<div class="col-sm-4">
							<input id="usrIdTxt" type="text" class="form-control"/>
						</div>
						<label class="control-label col-sm-2" for="usrNameTxt"> <s:message code="USR_NAME_TAG" />
						</label>
						<div class="col-sm-4">
							<input id="usrNameTxt" type="text" class="form-control"/>
						</div>
					</div>
					
					<div class="form-group">
						<%--<label class="control-label col-sm-2" for="engNameTxt"> <s:message code="ENGLISH_NAME_TAG" />
						</label>
						<div class="col-sm-4">
							<input id="engNameTxt"  type="text" class="form-control"/>
						</div>--%>
						<%--<label class="control-label col-sm-2" for="usrCateSel"> <s:message code="USR_CATE_TAG" />
						</label>
						<div class="col-sm-4">
							<select id="usrCateSel" class="form-control"></select>
						</div>--%>
						<label class="control-label col-sm-2" for="regDateTxt"><s:message code="REGISTER_DATE_TAG" /> </label>
						<div class="col-sm-4">
							<div id="regDateTxt" class="input-group input-append">
								<input data-format="yyyy-MM-dd" type="text" class="form-control">
								<span class="input-group-addon add-on"> <i
										data-date-icon="glyphicon-calendar"
										class="glyphicon glyphicon-calendar"></i>
									</span>
							</div>
						</div>
							<label class="control-label col-sm-2" for="deptTxt"> <s:message code="DEPT_ID_TAG" />
							</label>
							<div class="col-sm-4">
								<input id="deptTxt" type="text" class="form-control"/>
							</div>
					</div>

					<div class="form-group">
						<label class="control-label col-sm-2" for="phoneTxt"> <s:message code="PHONE_TAG" />
						</label>
						<div class="col-sm-4">
							<input id="phoneTxt" type="text" class="form-control"/>
						</div>
						<label class="control-label col-sm-2" for="telTxt"> <s:message code="TEL_TAG" />
						</label>
						<div class="col-sm-4">
							<input id="telTxt" type="text" class="form-control"  onKeyUp="this.value=this.value.replace(/\D/g,'')"
								   onafterpaste="this.value=this.value.replace(/\D/g,'')" maxlength="11"/>
						</div>
					</div>
					<div class="form-group">
						<label class="control-label col-sm-2" for="mailTxt"> <s:message code="MAIL_TAG" />
						</label>
						<div class="col-sm-4">
							<input id="mailTxt" type="text" class="form-control"/>
						</div>
					</div>
					
					<div class="form-group">
						<label class="col-sm-6">
							<input class="control-label col-sm-2" type="checkbox" id="validFlg"> 
							<s:message code="VALID_FLG_TAG" />
						</label>
						<%--<input class="control-label col-sm-1" type="checkbox" id="lockFlg">
						<label class="col-sm-5">
							<s:message code="LOCK_FLG_TAG" />
						</label>--%>
					</div>
				</form>
			</div>		
		</div>
	</div>	
	
	<!-- 用户查询 -->
	<div id="usrSelectDialog" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="title" aria-hidden="true">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
					<h4 class="modal-title">
						用户代码查询
					</h4>
				</div>

				<!--Modal header-->

				<div class="modal-body">
					<div class="row">
						<div id="usrSelectForm" class="row form-horizontal">
							<div class="control-group ">
								<label class="control-label col-sm-4" for="usrSelectDialog_idTxt"> <s:message code="USR_TAG" />
								</label>
								<div class="col-sm-5">
									<input id="usrSelectDialog_idTxt" class="form-control"/>
								</div>
							</div>
						</div>
					</div>
				</div>
				<div class="modal-footer">
					<a id="usrSelectDialog_cancelBtn" class="btn" data-dismiss="modal"> <s:message code="CANCEL_TAG" />
					</a> <a id="usrSelectDialog_queryBtn" class="btn btn-primary"> <s:message code="QUERY_TAG" />
					</a>
				</div>
			</div>
		</div>
	</div>
</body>
<%@ include file="/page/comPage/comJS.html"%>
<script src="lib/datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
<script src="lib/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js"></script>
<script type="text/javascript" src="js/page/A000/A200.js?v=2017071816"></script>
</html>

